package eva.savant.core.view

public class Maestro extends Bean {


  public void cleanEntity() throws Exception {

    super.cleanEntity()

    lsEntity= new ArrayList()
  }

  public List findLsEntity() {

    return find(entity.class, '')
  }

  public boolean mergeEntity(Object entity) {

    return merge(entity) != null
  }

  public void editEntity(Object id) {

    entity= get(entity.class, id)
  }

  public void removeEntity(Object entity) {

    remove(entity)
  }

}
